<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head lang="en" th:replace="header/header :: header(${authuser.nickName} + '-实体商户社群服务平台','/assets/layui/css/layui.css,/assets/module/admin.css','/assets/libs/index/app.js')">
</head>
<body>

<!-- 顶部导航-->
<div th:replace="common/index/indexbar :: indexbar"></div>

<!--头条主体-->
<div class="content">
    <div class="contDiary wrapper">
        <!--个人信息-->
        <div class="information">
            <!-- 用户基本信息 -->            
            <div th:replace="common/user/userhead:: userhead"></div>
            <div class="information-con" id="tabs-vertical">
                <div class="information-conT">
                    <ul>
                        <li class="information-conTLi">
                            <a data-index="0" class="information-conTLiA information-conTLiActive" th:href="'/t/' + ${authuser.userId}">
                                <p class="information-conTLiAp1" th:text="${releaseNum}">0</p>
                                <p class="information-conTLiAp2">发布</p>
                            </a>
                        </li>
                        <li class="information-conTLi">
                            <a data-index="1" class="information-conTLiA" th:href="'/t/vote/' + ${authuser.userId}">
                                <p class="information-conTLiAp1" id="userVoteNumber" th:text="${giveNum}">0</p>
                                <p class="information-conTLiAp2">点赞</p>
                            </a>
                        </li>
                        <li class="information-conTLi">
                            <a data-index="1" class="information-conTLiA" th:href="'/t/collect/'+ ${authuser.userId}">
                                <p class="information-conTLiAp1" id="userCollectNumber" th:text="${collectNum}">0</p>
                                <p class="information-conTLiAp2">收藏</p>
                            </a>
                        </li>
                        <li class="information-conTLi">
                            <a data-index="2" class="information-conTLiA" th:href="'/t/follow/'+ ${authuser.userId}">
                                <p class="information-conTLiAp1" id="userFollow" th:text="${followNum}">0</p>
                                <p class="information-conTLiAp2">关注</p>
                            </a>
                        </li>
                        <li class="information-conTLi">
                            <a data-index="3" class="information-conTLiA" th:href="'/t/fans/'+ ${authuser.userId}">
                                <p class="information-conTLiAp1" id="fansNum" th:text="${fansNum}">0</p>
                                <p class="information-conTLiAp2">粉丝</p>
                            </a>
                        </li>
                    </ul>
                </div>

                <!-- tab切换内容 -->
                <div class="information-conB">
	               	<!-- 用户的日记列表 -->
					<div class="information-conBv information-conActive" th:fragment="content">
						<div class="information-diaryType wall tab-content-active" id="userReslist"></div>
						
					</div>
                </div>
            </div>
        </div>
    </div>
</div>

<!-- 回到顶部 -->
<div th:replace="common/channel/backTop :: backTop"></div>

<!--页脚-->
<div th:replace="common/footer :: footer"></div>

<script type="text/javascript" src="/assets/libs/res/res.js?v=1"></script>

<script type="text/html" id="lires">
<div class="article inform-diaryTypeLi">
	{{# if(d.videoUrl == '' && d.coverImage != ''){ }}
		<a class="inform-diaryTypeLi-d1" target="_blank" href="/details/{{d.articleId}}">
			<img class="inform-diaryTypeLi-pImg" src="{{d.coverImage}}" alt="" />
		</a>
	{{# } else if(d.videoUrl != null && d.videoUrl != '') { }}
		<div class="inform-diaryTypeLi-d1">
			<div class="img-box-b">
				<a class="diaryContent-liA-imgA" target="_blank" href="/details/{{d.articleId}}"> 
					{{# if(d.coverVideo != ''){ }}
						<img class="inform-diaryTypeLi-pImg" title="" alt="" src="{{d.coverVideo}}" style="display: block; background: none;">
					{{# } else { }}
						<img class="inform-diaryTypeLi-pImg" title="" alt="" src="/assets/images/cover/true.png" style="display: block; background: none;">
					{{#  } }}
				</a>
			</div>
		</div>
	{{#  } }}
	<div class="inform-diaryTypeLi-d2">
		<a class="inform-diaryTypeLi-p2" target="_blank" href="/details/{{d.articleId}}">{{d.title}}</a>
		<a class="inform-diaryTypeLi-p3" target="_blank" href="/details/{{d.articleId}}">{{d.summary}}</a>
		<div class="inform-diaryTypeLi-d3">
			<div class="inform-diaryTypeLi-dL">
				<div class="y-left">  
					<span class="lbtn comment">&nbsp;{{d.readSizeFormat}}阅读&nbsp;</span> 
					<span class="lbtn comment">&nbsp;{{d.voteSizeFormat}}点赞&nbsp;</span>
					<span class="lbtn">⋅&nbsp;{{d.time}}</span>      
				</div>
			</div>
		</div>
	</div>
</div>

</script>

</body>
</html>